using System;
using System.Collections.Generic;
using System.Text;

namespace GoogleNet
{
    /// <summary>
    /// Specifies how the link is refreshed when the "camera" changes. Can be one of the following: 
    /// <list type="bullet">
    /// <item>never (default) - Ignore changes in the view. Also ignore viewFormat parameters, if any. </item>
    /// <item>onStop - Refresh the file n seconds after movement stops, where n is specified in viewRefreshTime. </item>
    /// <item>onRequest - Refresh the file only when the user explicitly requests it. 
    /// (For example, in Google Earth, the user right-clicks and selects Refresh in the Context menu.) </item>
    /// <item>onRegion - Refresh the file when the Region becomes active. See <see href="KmlRegion"></see>. </item>
    /// </list>
    /// </summary>
    public enum KmlViewRefreshModes
    {
        /// <summary>
        /// Ignore changes in the view. Also ignore viewFormat parameters, if any (default).
        /// </summary>
        never,

        /// <summary>
        /// Refresh the file n seconds after movement stops, where n is specified in viewRefreshTime.
        /// </summary>
        onStop,

        /// <summary>
        /// Refresh the file only when the user explicitly requests it. 
        /// (For example, in Google Earth, the user right-clicks and selects Refresh in the Context menu.)
        /// </summary>
        onRequest,

        /// <summary>
        /// Refresh the file when the Region becomes active. See KmlRegion.
        /// </summary>
        onRegion
    }
}
